EXTRA_DIST =

pkginclude_HEADERS = canbus.h
lib_LTLIBRARIES = libcanbus.la

AM_CPPFLAGS = \
			  -D_FILE_OFFSET_BITS=64 \
			  -DSO_RXQ_OVFL=40 \
			  -DPF_CAN=29 \
			  -DAF_CAN=PF_CAN \
			  -include $(top_builddir)/config.h \
			  -DSYSCONFDIR=\""$(sysconfdir)"\" \
			  -DLIBEXECDIR=\""$(libexecdir)"\" \
			  -I${top_srcdir}/src

AM_CFLAGS = ${my_CFLAGS}

libcanbus_la_SOURCES = \
					   canbus.c \
					   canbus.h \
					   canbus-private.h \
					   canbus-version.h

libcanbus_la_LDFLAGS = -no-undefined

libcanbusincludedir = $(includedir)
libcanbusinclude_HEADERS = canbus.h canbus-version.h

DISTCLEANFILES = canbus-version.h
EXTRA_DIST += canbus-version.h.in
CLEANFILES = *~
